ExclusiveGatewaySetting=function (editor) {
	this.editor = editor;
	this.setting = this.getCurrentAttributeSetting("exclusiveGateway");
};

mxUtils.extend(ExclusiveGatewaySetting, AttributeSetting);

/**
 * 渲染分支网关属性设置页面
 */
ExclusiveGatewaySetting.prototype.renderSetting = function() {
	var basicAttrRegion = $('#ef_region_basicAttr');
	$('#name', basicAttrRegion)
			.attr('value', this.setting.getAttribute('Name'));
	$('#displayName', basicAttrRegion).attr('value',
			this.setting.getAttribute('DisplayName'));
	$("#description").val(this.setting.getAttribute('Description'));
};
/**
 * 保存分支网关属性设置
 */
ExclusiveGatewaySetting.prototype.updateSetting = function() {
	// 获取活动属性配置
	var basicAttrRegion = $('#ef_region_basicAttr');
	var name = $("#name").val();
	var displayName = $("#displayName").val();
	var description = $("#description").val();

	// 设置基本属性
	var cas = this.setting;
	cas.setAttribute('Name', name);
	cas.setAttribute('DisplayName', displayName);
	cas.setAttribute('Description', description);

	this.updateAttributeSetting();
};